-- GENERATED SPELL FOR [Librarian Garren] --


function spell0_25291(pUnit, Event) --@Water Breathing,n/a--
pUnit:FullCastSpellOnTarget(52909,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25291', 500, 1)
end

function Sorts_25291(pUnit, Event)
local choix_sorts_25291 = math.random(0, 0)
if choix_sorts_25291 == 0 then
pUnit:RegisterEvent('spell0_25291', 1, 1)
end
end

function mob25291_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25291', math.random(1500, 3000), 1)
end

function mob25291_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25291_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25291_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25291, 1, 'mob25291_Action')
RegisterUnitEvent(25291, 2, 'mob25291_Leave')
RegisterUnitEvent(25291, 3, 'mob25291_Kill')
RegisterUnitEvent(25291, 4, 'mob25291_Die')
